package com.dstz.bpm.core.model.overallview;

import com.alibaba.fastjson.JSONArray;
import com.dstz.bpm.core.model.BpmDefinition;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(
   name = "agilebpmXml"
)
@XmlAccessorType(XmlAccessType.FIELD)
public class OverallViewExport {
   @XmlElement(
      name = "bpmDefinition",
      type = BpmDefinition.class
   )
   private BpmDefinition T;
   @XmlElement(
      name = "bpmnXml"
   )
   private String X;
   @XmlElement(
      name = "modelEditorJson"
   )
   private String aw;
   @XmlElement(
      name = "permission"
   )
   private JSONArray av = new JSONArray();

   public BpmDefinition getBpmDefinition() {
      return this.T;
   }

   public void setBpmDefinition(BpmDefinition bpmDefinition) {
      this.T = bpmDefinition;
   }

   public String getBpmnXml() {
      return this.X;
   }

   public JSONArray getPermission() {
      return this.av;
   }

   public void setPermission(JSONArray permission) {
      this.av = permission;
   }

   public void setBpmnXml(String bpmnXml) {
      this.X = bpmnXml;
   }

   public String getModelEditorJson() {
      return this.aw;
   }

   public void setModelEditorJson(String modelEditorJson) {
      this.aw = modelEditorJson;
   }
}
